/**
 * MCStopDownloadFile.java
 */
package commands.model;
import dataTypes.File;

/**
 * Request to stop downloading a file.
 * @author Michal Kolodziejski
 */
public class MCStopDownloadFile extends ModelCommand {
	/** A file of which a download is requested to be stopped. */
	private File file;
	
	
	/**
	 * Constructor
	 * @param file a file of which a download is requested to be stopped
	 */
	public MCStopDownloadFile(File file){
		super(ModelCommandType.STOP_DOWNLOAD_FILE);
		this.file = file;
	}

	/**
	 * @return the file of which a download is requested to be stopped
	 */
	public File getFile() {
		return file;
	}
	
}
